

#ifndef _CAN_MSG_HLD_H_
#define _CAN_MSG_HLD_H_


#include "stdint.h"
#include "can_ringbuff.h"

extern STR_CAN_BUFFER canmsg_tran_buf;
extern can_trasnmit_message_struct can_tar_msg;

extern void can_mailbox_init(void);
extern void can_message_init(void);

extern void can_rece_msg_analyse(uint8_t fifo_num);

extern void can_multiframe_tran(STR_CAN_BUFFER* packetbuf, can_trasnmit_message_struct* tran_msg);

extern void bms_can_comm_handle(uint16_t runtime_ms);
extern void clean_can_comm_handle(uint16_t runtime_ms);


#endif



